-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
d0945e3
to
99d94ff
Compare
Based on internal design discussion. Access by property is more idiomatic for JS. Also, s/stats/info/ based on feedback in grafana/k6#1863.
99d94ff
to
c9af174
Compare
This will now be based on grafana/k6#2108
4b540ad
to
a417c77
Compare
c4508cb
to
ea16909
Compare
The current WIP branches depend on WIP branches of k6, so we can't build against k6 master. This should work for all cases...
2d2a90a
to
01b22c7
Compare
The v0.33.0 tag was moved in k6, which messed up the sum.golang.org proxy. We can remove this after the next k6 version is released.
"id": func() interface{} { return vuState.VUID }, | ||
"idGlobal": func() interface{} { return vuState.VUIDGlobal }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am still of the opinion that this should be localId
/instanceId
and id
, but this can be fixed later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, let's leave that for a follow-up PR. There are likely others we want renamed too, and it's pretty straightforward.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. We can fix the names after playing with this for a bit. And I may have messed up the dependencies with my changes in #1, but that can be fixed in main
later as well... 😅
Based on internal design discussion. Access by property is more idiomatic for JS.
Also,
s/stats/info/
based on feedback in grafana/k6#1863, though we could dropInfo
since it's only used internally.This depends on grafana/k6#2108 and #1 so let's not merge it before those.
I'm not quite happy with it; it could probably be optimized, and there might be some
goja.Runtime
mixing.And I think @mstoykov had some thoughts on property names that should be addressed.